Skip to content
This repository has been archived by the owner on May 24, 2019. It is now read-only.

Add --copy-source option (.flow) #64

Closed

Conversation

clintwood
Copy link
Contributor

This PR adds a -c, --copy-source options to Copy typed source with .flow extension to output which Only applies when --out-file or --out-dir options are used.

Using this option will copy src/file.ext to dest/file.ext.flow (where ext is any extension supported by flow-remove-types) anytime there is an output file.

@STRML
Copy link

STRML commented Apr 22, 2018

This is very helpful and a nice way to author flow packages.

@clintwood clintwood mentioned this pull request May 7, 2018
@clintwood
Copy link
Contributor Author

@leebyron, any chance you could take a look at this PR?

mattgstevens added a commit to mattgstevens/eth-events-interface that referenced this pull request Sep 13, 2018
@clintwood clintwood mentioned this pull request Oct 17, 2018
@motiz88
Copy link
Contributor

motiz88 commented Feb 15, 2019

While it's nice from a performance standpoint not to have to read the source files twice, I don't know that this is strictly necessary given that https://github.com/Macil/flow-copy-source exists, and the fact that we have plans to resurrect gen-flow-files as the official solution for generating .js.flow files.

@clintwood
Copy link
Contributor Author

All good!

@clintwood clintwood closed this Feb 16, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants